%\documentclass[a4paper,oneside,11pt]{article}
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
%\usepackage[french,boxed]{algorithm2e}
%\usepackage{fullpage}
\usepackage{xkeyval}
\usepackage{rotating}
\usepackage{amsmath}
\usepackage{amsfonts,amssymb}
\usepackage{float}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{verbatim}
\usepackage{listings}
%\usepackage{lastpage}
\usepackage{multicol}
\usepackage{pstricks}
\usepackage{aeguill}
%\usepackage{color}
%\usepackage{multicol}
%\usepackage{mathenv}
%\usepackage{a4}
%\usepackage{pstricks}
%\usepackage{graphicx}
%\usepackage{pst-node}
%\usepackage[T1]{fontenc}
%\usepackage{pst-tree}
%\usepackage{color}
%\usepackage[nottoc, notlof, notlot]{tocbibind}

\addtolength{\hoffset}{-2cm}
\addtolength{\textwidth}{3cm} 
\setlength{\headsep}{0.70cm}
%%%%%%%%%%%%% Java Listings %%%%%%%%%%%%%
\definecolor{jbackground}{rgb}{0.75,0.75,0.75}
\lstset{language=C, backgroundcolor=\color{jbackground}}

%%%%%%%%%%%%%%%% Variables %%%%%%%%%%%%%%%%
\def\titre{Projet de syst\`eme d'exploitation\\Rapport final}
\def\titregauche{Projet de système d'exploitation}
\def\titredroite{Rapport intermédiaire}
\def\filiere{informatique}
\def\annee{$2^{\`eme}$}  % $1^{ere}$, $2^{eme}$ ou $3^{eme}$
\def\anneescolaire{2011/2012}
\def\numeroequipe{}
\def\equipe{Agathe Falkowiez de Mortain \\Isaline Laurent \\Faissal Elwahbi\\Mehdi Haddoun\\ Pottier Aristide}
\def\encadrant{Brice Goglin} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\pagestyle{fancy} \lhead{\textsc{\titregauche}} 
\rfoot{\textit{Ann\'ee \anneescolaire}}\rhead{\textsc{\titredroite}}\cfoot{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}

\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}

\begin{document}

\begin{titlepage}

\begin{center}


% Upper part of the page
\begin{center}
%\rotatebox{0}{\scalebox{1}[1]{\includegraphics[width=4cm]{logo}}}
\end{center}
~\\
~\\
~\\
\textsc{\LARGE ENSEIRB-MATMECA}\\[1cm]

\textsc{\Large {Fili\`ere \filiere, \annee ann\'ee}}\\[0.5cm]

% Title
\HRule \\[0.4cm]
{ \huge \bfseries \titre}\\[0.4cm]

\HRule \\[1.5cm]

% Author and supervisor
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{Auteurs:}\\
\equipe
\end{flushleft}
\end{minipage}
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{Encadrant:} \\
\encadrant
\end{flushright}
\end{minipage}

\vfill

% Bottom of the page
{\large \today}

\end{center}

\end{titlepage}



%\tableofcontents


\input{introduction}


%\addcontentsline{toc}{chapter}{Introduction}

\input{partie1}

\input{partie2}
%\input{semaphores}
\input{test}
\include{conclusion}

\end{document}

